//
//  HXCustomBigModel.m
//  ZCooking
//
//  Created by 韩旭 on 16/8/31.
//  Copyright © 2016年 HX_. All rights reserved.
//

#import "HXCustomBigModel.h"
#import "HXCustomModel.h"
#import "HXCustomTitlesModel.h"
#import "HXLinkModel.h"

@implementation HXCustomBigModel
- (instancetype)initWithDic:(NSDictionary *)dic {
    self = [super initWithDic:dic];
    if (self) {
        self.widget_data = [[HXCustomModel hxCustomModelWithArray:dic[@"widget_data"]] mutableCopy];
        self.widget_command = [[HXCustomTitlesModel hxCustomModelWithArr:dic[@"widget_command"]] mutableCopy];
        self.widget_Link = [[HXLinkModel hxCustomModelWithArr:dic[@"widget_Link"]] mutableCopy];
    }
    return self;
}
+ (BaseModel *)ModelWithDic:(NSDictionary *)dic {
    return [[HXCustomBigModel alloc] initWithDic:dic];
}
@end
